package com.suda.sudaexamsystem.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ExamPaperDto {
    private int id;
    private String name;
    // 试卷满分
    private BigDecimal score;
    // 所属班级
    private ClazzDto clazz;
    // 试卷题目
    private List<QuestionDto> questionDtoList = new ArrayList<>();

    public ExamPaperDto(int id, String name, BigDecimal score, ClazzDto clazz, List<QuestionDto> questionDtoList) {
        this.id = id;
        this.name = name;
        this.score = score;
        this.clazz = clazz;
        this.questionDtoList = questionDtoList;
    }

    public ExamPaperDto() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public ClazzDto getClazz() {
        return clazz;
    }

    public void setClazz(ClazzDto clazz) {
        this.clazz = clazz;
    }

    public List<QuestionDto> getQuestionDtoList() {
        return questionDtoList;
    }

    public void setQuestionDtoList(List<QuestionDto> questionDtoList) {
        this.questionDtoList = questionDtoList;
    }
}
